struct USN_RECORD {
public TODO;
}
<StructLayout(LayoutKind.Explicit)> Private Structure USN_RECORD
<FieldOffset(0)> Public RecordLength As Integer 'DWORD RecordLength;
<FieldOffset(4)> Public MajorVersion As Short 'WORD MajorVersion;
<FieldOffset(6)> Public MinorVersion As Short 'WORD MinorVersion;
<FieldOffset(8)> Public FileReferenceNumber As Long 'DWORDLONG FileReferenceNumber;
<FieldOffset(16)> Public ParentFileReferenceNumber As Long 'DWORDLONG ParentFileReferenceNumber;
<FieldOffset(24)> Public Usn As Long 'USN Usn;
<FieldOffset(32)> Public TimeStamp As Long 'LARGE_INTEGER TimeStamp;
<FieldOffset(40)> Public Reason As Integer 'DWORD Reason;
<FieldOffset(44)> Public SourceInfo As Integer 'DWORD SourceInfo;
<FieldOffset(48)> Public SecurityID As Integer 'DWORD SecurityId;
<FieldOffset(52)> Public FileAttributes As Integer 'DWORD FileAttributes;
<FieldOffset(56)> Public FileNameLength As Short 'WORD FileNameLength;
<FieldOffset(58)> Public FileNameOffset As Short 'WORD FileNameOffset;
<FieldOffset(60)> Public FileName As Char 'WCHAR FileName[1];
End Structure
None.
None.